We need this in the main gnome-shell executable in order to locate
the private Shell and St typelibs, but those aren't useful or even
usable in the extension-prefs/portal helper tools.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/192
#include "config.h"
-#include <girepository.h>
#include <gjs/gjs.h>
#include <glib/gi18n.h>
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- g_irepository_prepend_search_path (GNOME_SHELL_PKGLIBDIR);
-
context = g_object_new (GJS_TYPE_CONTEXT,
"search-path", search_path,
NULL);
#include "config.h"
-#include <girepository.h>
#include <gjs/gjs.h>
#include <glib/gi18n.h>
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- g_irepository_prepend_search_path (GNOME_SHELL_PKGLIBDIR);
-
context = g_object_new (GJS_TYPE_CONTEXT,
"search-path", search_path,
NULL);